/**
 * Huisou.com Inc.
 * Copyright (c) 2011-2012 All Rights Reserved.
 */

package com.lyqg.biz;

import java.util.List;

import com.core.orm.Page;
import com.core.orm.PageRequest;
import com.lyqg.domain.Fx;

/**
 * @description
 * 
 * @author chenzehe
 * @email hljuczh@163.com
 * @create 2012-8-14 下午08:59:54
 */

public interface IFxService {
	Page<Fx> queryFx(PageRequest pageRequest);

	Page<Fx> queryFxByMall(PageRequest pageRequest, String mallEname);

	Page<Fx> queryFxByCate(PageRequest pageRequest, String categoryParentEname);

	Page<Fx> queryFxByMalllAndCate(PageRequest pageRequest,
			String categoryParentEname, String mallEname);

	int updatePingFen(int id);

	String getGoUrl(int id);

	Fx getById(int id);

	int updateCollectionCount(int id);

	int updateCommentCount(int id);

	Long queryNumByUser(int userId);

	List<Fx> queryLimitFx(int limit);

}
